{{#if error}}
<div class="previewError" title="{{title}}"></div>
{{else}}
<img class="previewImage" src="{{src}}" title="{{title}}">
{{/if}}